/* Main Stylesheet for FFXIV Address Book */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

main {
    flex: 1;
}

/* Property Cards */
.property-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.property-card img {
    background-color: #e9ecef;
}

.property-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Buttons */
.btn {
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #fff;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #212529 !important;
    margin-top: auto;
}

footer a {
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Property View Page */
.property-gallery img {
    cursor: pointer;
    transition: transform 0.2s;
}

.property-gallery img:hover {
    transform: scale(1.05);
}

.comment-card {
    border-left: 3px solid var(--primary-color);
}

/* User Dashboard */
.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
    color: white;
    border: none;
}

.stat-card .display-4 {
    font-weight: 700;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .property-card img {
        height: 180px !important;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

/* Utility Classes */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Notification Badge */
.notification-badge {
    font-size: 0.65rem;
}

/* Property Icons */
.property-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
